#ifndef _FILEPRO_H_
#define _FILEPRO_H_

#include "tinyxml2.h"
#include <iostream>
#include <regex>
#include <sstream>
#include <string>
#include <vector>

using std::cerr;
using std::cout;
using std::regex;
using std::stringstream;
using std::vector;
using namespace tinyxml2;
using std::string;

struct RssItem {
    string title;
    string link;
    string description;
    size_t id;
};

class FileProcessor {
  public:
    vector<RssItem> &process(string &);

  private:
    vector<RssItem> _rss;
    string _titleFeature;
};

#endif